package com.internetplus.webcore.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Business {

    private int businessId;
    private String name;
    private Date addTime;
    private int isPoor;
    private int userId;
    private String businessInfo;
    private String businessPhone;
    private String businessAddress;
    private String businessImg;
    private String businessMail;

    public String getBussinessMail() {
        return businessMail;
    }

    public void setBussinessMail(String bussinessMail) {
        this.businessMail = bussinessMail;
    }

    public String getBussinessImg() {
        return businessImg;
    }

    public void setBussinessImg(String bussinessImg) {
        this.businessImg = bussinessImg;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public int getIsPoor() {
        return isPoor;
    }

    public void setIsPoor(int isPoor) {
        this.isPoor = isPoor;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getBusinessInfo() {
        return businessInfo;
    }

    public void setBusinessInfo(String businessInfo) {
        this.businessInfo = businessInfo;
    }

    public String getBusinessPhone() {
        return businessPhone;
    }

    public void setBusinessPhone(String businessPhone) {
        this.businessPhone = businessPhone;
    }

    public String getBusinessAddress() {
        return businessAddress;
    }

    public void setBusinessAddress(String businessAddress) {
        this.businessAddress = businessAddress;
    }

    @Override
    public String toString() {
        return "Business{" +
                "businessId=" + businessId +
                ", name='" + name + '\'' +
                ", addTime=" + addTime +
                ", isPoor=" + isPoor +
                ", userId=" + userId +
                ", businessInfo='" + businessInfo + '\'' +
                ", businessPhone='" + businessPhone + '\'' +
                ", businessAddress='" + businessAddress + '\'' +
                '}';
    }
}
